using System;
using Microsoft.Practices.EnterpriseLibrary.Configuration.Design;

namespace Avanade.PolicyInjection.Design
{
	internal class PolicyInjectionNodeMapRegistrar : NodeMapRegistrar
	{
        public PolicyInjectionNodeMapRegistrar(IServiceProvider serviceProvider)
			: base(serviceProvider)
		{ }

		public override void Register()
		{
            base.AddMultipleNodeMap(Resources.WcfValidationCallHandlerNodeName,
                typeof(WcfValidationCallHandlerNode),
                typeof(WcfValidationCallHandlerData));
        }
	}
}